import request from "../utils/request";
//推荐歌单请求
export const reqGetListCard = () => {
	return request({
		method: "get",
		url: "/personalized",
		// params:{} 查询字符串参数
		// body:{} 请求体参数
	});
};

//排行榜榜单
export const reqGetTopList = () => {
	return request({
		method: "get",
		url: "/toplist",
	});
};

//排行榜列表
export const reqGetPlayListDetail = (id) => {
	return request({
		method: "get",
		url: "/playlist/detail",
		params: {
			id,
		},
	});
};

//歌手分类列表
export const reqGetArtistList = (type = 1, area = 7) => {
	return request({
		method: "get",
		url: "/artist/list",
		params: {
			type,
			area,
		},
	});
};
//热门电台
export const reqGetDjRadiosList = () => {
	return request({
		method: "get",
		url: "/dj/hot",
	});
};
